﻿using NExt.Core.Model.Base;

namespace NExt.data
{
    public class GroupingStore : GroupingStore<GroupingStoreEvents>
    {
    }

    public abstract class GroupingStore<TEvents> : NExt.data.Store<TEvents>
        where TEvents : GroupingStoreEvents, new()
    {
       
        public string groupField { get; set; }
        public bool? groupOnSort { get; set;}
        public bool? remoteGroup { get; set;}
    }

    public class GroupingStoreEvents : NExt.data.StoreEvents
    {
        public IScript groupchange { get; set; }
       
    }
}
